import React, {Component} from 'react';
import Home from "./pages/Home";
import Profile from "./pages/Profile";
import {connect} from "react-redux"
import  "./style.css"
import About from "./pages/About";

class App extends Component {
    render() {
        const { counter} = this.props
        return (
            <div className="container">
                <div>app counter : {counter}</div>
                <Home/>
                <Profile/>
                <About/>
            </div>
        );
    }
}



export default connect((state)=>({counter:state.counter.counter}))(App);
